package com.truyen.service;

import java.util.List;

import com.truyen.persistence.entity.LoaiTruyenChu;
import com.truyen.utils.PagingInfo;


public interface LoaiTruyenChuService {
	
	// tao moi
	void save(LoaiTruyenChu entity);

	//tim theo id
	LoaiTruyenChu findById(Long id);

	//lay tat ca
	List<LoaiTruyenChu> getAll();

	LoaiTruyenChu findByProperty(String column, Object value);

	List<LoaiTruyenChu> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	List<LoaiTruyenChu> getLstAllWithPagingInfo(PagingInfo pInfo);

	LoaiTruyenChu findByAliasVType(String alias, int type);

	List<LoaiTruyenChu> getLstAllWithPagingInfo(PagingInfo pInfo, int type);
	
}
